package example.service.impl;


import example.dao.ResumeDao;
import example.pojo.Resume;
import example.service.ResumeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author dell
 * @date 2021-01-25 2:00
 * @description
 */
@Service
public class ResumeServiceImpl implements ResumeService {

    @Override
    public Resume findDefaultResumeByUserId(Long userId) {
        Resume resume = new Resume();
        resume.setUserId(userId);
        // 查询默认简历
        resume.setIsDefault(1);
        return resume;
    }
}
